package com.hupu.jrs.injector.component

import android.app.Service
import com.hupu.jrs.injector.PerService
import com.hupu.jrs.injector.module.ServiceModule
import com.hupu.jrs.service.MessageService
import com.hupu.jrs.service.OffLineService
import dagger.Component

/**
 * Created by sll on 16/03/16.
 */
@PerService
@Component(dependencies = arrayOf(ApplicationComponent::class), modules = arrayOf(ServiceModule::class))
interface ServiceComponent {

    val serviceContext: Service

    fun inject(messageService: MessageService)

    fun inject(offLineService: OffLineService)
}
